<h2>INGRESOS - Estampillas</h2>

<small style="color:red;">
<?php //foreach ($estampillas as $estampilla){
echo validation_errors(); ?>
</small>
<fieldset>
<?php echo form_open('estampillas/index');       
        $this->table->set_empty("&nbsp;");
        $this->table->set_heading('Tramite','Valor','Stock Actual','Cantidad Vendida');
	
	foreach ($estampillas as $estampilla){
                $id=$estampilla->Est_Id;
		$this->table->add_row($estampilla->Est_Tramite,
                              $valor= "$ $estampilla->Est_Valor",
                              $estampilla->Est_Stock,
                              form_input("cant_$id", set_value('0'), "id=cant_$id")
			);
	}
	$table = $this->table->generate();
        echo $table;


?>      
<div style="text-align:right">    
    <?php echo form_submit('action', 'Aceptar'); ?>

</div>
<?php form_close(); ?>  
</fieldset>